--[[ =================================================================
    Description:
        All globals used within BagTips.
    ================================================================= --]]

-- Colors used within BagTips
    C_GREEN  = "|cFF00FF00";
    C_CLOSE  = "|r";

-- Global variables
    BT = getglobal( "BagTips" ); -- AddOn object itself
    BT_NAME = "BagTips";--GetAddOnMetadata( "BagTips", "Title" );
    BT_VERSION = "0.6";--GetAddOnMetadata( "BagTips", "Version" );

-- Hook related stuff
    BT_Hooks = {};
    BT_Hooks["MainMenuBarBackpackButton"] = {};
    BT_Hooks["CharacterBag0Slot"] = {};
    BT_Hooks["CharacterBag1Slot"] = {};
    BT_Hooks["CharacterBag2Slot"] = {};
    BT_Hooks["CharacterBag3Slot"] = {};
    BT_Hooks["KeyRingButton"] = {};

-- Bag IDs
    BT_BAG_IDS = { ["MainMenuBarBackpackButton"] = 0,
                   ["CharacterBag0Slot"] = 1,
                   ["CharacterBag1Slot"] = 2,
                   ["CharacterBag2Slot"] = 3,
                   ["CharacterBag3Slot"] = 4,
                   ["KeyRingButton"] = -2 };

--[[ =================================================================
    Description:
        All strings (English) used by BagTips.
    ================================================================= --]]

-- Strings used within BagTips
    BT_STARTUP_MESSAGE = BT_NAME.." ("..C_GREEN..BT_VERSION..C_CLOSE..") loaded.";
    BT_CONTENTS = "Contents";
    BT_EMPTY = "Empty";
    BT_FREESLOTS = "Free slots";
    BT_FREE = "%d of %d";

--[[ =================================================================
    Description:
        All strings (Chinese) used by BagTips.
    ================================================================= --]]

-- Strings used within BagTips
-- Locale by 急云@CWDG 2008-10-9
if (GetLocale()=="zhCN") then
    BT_STARTUP_MESSAGE = BT_NAME.." ("..C_GREEN..BT_VERSION..C_CLOSE..") \229\183\178\232\189\189\229\133\165.";
    BT_CONTENTS = "\229\140\133\229\134\133\230\184\133\229\141\149";
    BT_EMPTY = "\230\178\161\228\184\156\232\165\191\229\147\166";
    BT_FREESLOTS = "\229\137\169\228\189\153\231\169\186\233\151\180";
    BT_FREE = "%d / %d";
end;


--[[ =================================================================
    Description:
        All strings (Chinese Traditional) used by BagTips.
    ================================================================= --]]

-- Strings used within BagTips
-- Locale by 急云@CWDG 2008-10-9
if (GetLocale()=="zhTW") then
    BT_STARTUP_MESSAGE = BT_NAME.." ("..C_GREEN..BT_VERSION..C_CLOSE..") \229\183\178\232\188\137\229\133\165.";
    BT_CONTENTS = "\229\140\133\229\133\167\230\184\133\229\150\174";
    BT_EMPTY = "\230\178\146\230\157\177\232\165\191\229\147\166";
    BT_FREESLOTS = "\229\137\169\233\164\152\231\169\186\233\150\147";
    BT_FREE = "%d / %d";
end;
